<form class="form-horizontal">
  <div class="control-group">
    <input class="span12" type="text" size="255" ng-model="endpointName" placeholder="Endpoint URI"/>
  </div>
  <div class="control-group">
    <button type="submit" class="btn btn-info" ng-click="createEndpoint(endpointName)"
            ng-disabled="!endpointName">
      Create endpoint from URI
    </button>
  </div>
</form>
